<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>帖子编辑</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <script type="text/javascript" charset="utf-8" src="utf8-jsp/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="utf8-jsp/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="utf8-jsp/lang/zh-cn/zh-cn.js"></script>

    <style type="text/css">
        div{
            width:100%;
        }
    </style>
</head>
<body>
<div>
<form action="ChangeArticleServlet" method="GET">
    <h1>帖子编辑</h1>
  <div> 
     <div>	
        内容序号：<input type="text" class="form-control input-sm duiqi" id="content_id"
	          name="content_id" value="${content.content_id}">
	帖子序号：<input type="text" class="form-control input-sm duiqi" id="article_id"
	name="article_id" value="${content.article_id}">
	
	帖子主题：<input type="text" class="form-control input-sm duiqi" id="theme_name"
	name="theme_name" value="${theme.theme_name}">
	
	</div>
	
	<div>
	
	帖子标题：<input type="text" class="form-control input-sm duiqi" id="article_title"
	name="article_title" value="${article.article_title}">
	
	帖子作者：<input type="text" class="form-control input-sm duiqi" id="user_name"
	name="user_name" value="${user.user_name}">
	
	发布时间：<input type="text" class="form-control input-sm duiqi" id="createtime"
	name="createtime" value="${article.article_createtime}">
	</div>

	
	
	
	<div class="col-xs-8 ">										
	浏览次数：<input type="text" class="form-control input-sm duiqi" id="article_click_num"
	name="article_click_num" value="${article.article_click_num}">
	
	评论次数：<input type="text" class="form-control input-sm duiqi" id="article_comment_num"
	name="article_comment_num" value="${article.article_comment_num}">
	
	点赞次数：<input type="text" class="form-control input-sm duiqi" id="article_zan_num"
	name="article_zan_num" value="${article.article_zan_num}">
	</div>
		
	</div>
	
    <script id="editor" type="text/plain" style="width:1024px;height:500px;"> ${content.content}</script>

    <input type="submit" value="提交"/>
    </form>
</div>



<script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');

</script>
</body>
</html>